package xyz.xmh.pattern.j2ee.compositeentitypattern;

/**
 * @author Administrator
 * <p>
 * 组合实体模式演示
 */
public class CompositeEntityPatternDemo {

    public static void main(String[] args) {
        Client client = new Client();

        client.setData("Test", "Data");
        client.printData();
        client.setData("Second Test", "Data1");
        client.printData();
    }
}
